import { get, post, put, del } from "../utils/request";
export const loadGong = (page) => get("/api/v1/admin/notice", { page });
export const addGong = (data) => post("/api/v1/admin/notice", data);

export const updataGong = (id, data) => put(`/api/v1/admin/notice/${id}`, data);

export const deleteGong = (id) => del("/api/v1/admin/notice/" + id);
